package com.tubruk.util.dialog;

import com.tubruk.todo.activity.R;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class About extends Dialog {
	public About(Context context) {
		super(context);

	}

	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.about);
        setTitle("About");
        
    	Button btn = (Button) this.findViewById(R.id.CloseBtn);
    	btn.setOnClickListener(new CloseListener());
    	
    }
	
	private class CloseListener implements android.view.View.OnClickListener {
        public void onClick(View v) {
            About.this.dismiss();
        }
    }
    
    
}
